package com.example.myshools.Mine.organization.historyActivityManage.entity;

import com.example.myshools.entity.ActivityApplyData;
import com.example.myshools.entity.Img;

import java.util.List;
/*
* 历史活动item所需要的活动信息
* 包含活动本身信息，以及用户对活动的申请信息
* */
public class Activity{
    private int id;
    private int organization_id;
    private String title;//活动标题
    private String up_time;//时间
    private int view_num;//浏览量ApplyForm
    private String content;//内容
    private String label;//标签
    private List<Img> imgPathList;//图片
    private int status;//活动状态
    private int isSetJoinNum;//是否设置参加人数
    private ActivityApplyData activityApplyData;//设置参加人数时的申请数据

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrganization_id() {
        return organization_id;
    }

    public void setOrganization_id(int organization_id) {
        this.organization_id = organization_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUp_time() {
        return up_time;
    }

    public void setUp_time(String up_time) {
        this.up_time = up_time;
    }

    public int getView_num() {
        return view_num;
    }

    public void setView_num(int view_num) {
        this.view_num = view_num;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<Img> getImgPathList() {
        return imgPathList;
    }

    public void setImgPathList(List<Img> imgPathList) {
        this.imgPathList = imgPathList;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getIsSetJoinNum() {
        return isSetJoinNum;
    }

    public void setIsSetJoinNum(int isSetJoinNum) {
        this.isSetJoinNum = isSetJoinNum;
    }

    public ActivityApplyData getActivityApplyData() {
        return activityApplyData;
    }

    public void setActivityApplyData(ActivityApplyData activityApplyData) {
        this.activityApplyData = activityApplyData;
    }

    @Override
    public String toString() {
        return "Activity{" +
                "id=" + id +
                ", organization_id=" + organization_id +
                ", title='" + title + '\'' +
                ", up_time='" + up_time + '\'' +
                ", view_num=" + view_num +
                ", content='" + content + '\'' +
                ", label='" + label + '\'' +
                ", imgPathList=" + imgPathList +
                ", status=" + status +
                ", isSetJoinNum=" + isSetJoinNum +
                ", activityApplyData=" + activityApplyData +
                '}';
    }
}
